package pe.gob.minam.sismon.web.config;

import javax.faces.application.ViewHandler;
import javax.faces.application.ViewHandlerWrapper;
import javax.faces.component.UIViewRoot;
import javax.faces.context.FacesContext;

public class SeguridadViewHandler extends ViewHandlerWrapper {

	private ViewHandler parent;

	public SeguridadViewHandler(ViewHandler parent) {
		this.parent = parent;
	}

	@Override
	public UIViewRoot createView(FacesContext context, String viewId) {
		return super.createView(context, viewId);
	}

	@Override
	public ViewHandler getWrapped() {
		return parent;
	}
}
